<!doctype html>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<html>
<head>
	<meta charset="UTF-8">
	<title>Grima Portal</title>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/themes/bootstrap/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/icon.css">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/portal.css">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/font-awesome.min.css">
	
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.easyui.min.js"></script>
</head>

<body class="easyui-layout">

    <div id="header" data-options="region:'north',border:false" style="height:40px;padding:10px;overflow: hidden;">
        <div style="float: left;">
	               <a href="<%=request.getContextPath()%>/secure/index.html" style="text-decoration: none;">
	                       <img alt="" src="<%=request.getContextPath()%>/img/logo.png"/>
	                       <img alt="" src="<%=request.getContextPath()%>/img/portal.png"/>
	               </a>
        </div>
	</div>

	<div id="acessoNegado">
		<div >
			Acesso Negado.<br/>
			<a href="javascript:history.back();">Voltar</a>
	    </div>
	</div>
 
	<div data-options="region:'south',border:false" style="height:40px;padding:10px;background:#F5F5F5;text-align:center;color:#707070; overflow: hidden;">
	</div>
	
	<script>
		
		jQuery.fn.center = function () {
		    this.css("position","fixed");
		    this.css("top", ($(window).height() / 2) - (this.outerHeight() / 2));
		    this.css("left", ($(window).width() / 2) - (this.outerWidth() / 2));
		    return this;
		}

		$('#acessoNegado').center();
		
		$(window).resize(function(){
		   $('#acessoNegado').center();
		});
		
	</script>    
</body>

</html>